<%@ Control Language="C#"  %>
<%@ Register Assembly="Swaf.Gui.AspNet2" Namespace="Swaf.Gui.AspNet2" TagPrefix="swf" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="cke" %>
<%@ Register Assembly="Syrinx.Gui.AspNet.Nitobi2" Namespace="Syrinx.Gui.AspNet.Nitobi2" TagPrefix="snc" %><%@ Register Assembly="NitobiControls" Namespace="Nitobi" TagPrefix="ntb" %>

<table cellspacing="3px">
<tr>
	<td><asp:Label runat="server" ID="_pgNameLbl" Text="Name:" /></td>
	<td>
		<asp:TextBox runat="server" ID="pageShortName" />
	</td>
</tr>
<tr>
	<td><asp:Label runat="server" ID="_pgSecLbl" Text="Security Needed:" /></td>
	<td>
		<snc:Combo id="securityAppFunction" runat="server" DataTextField="description" DataSourceBizRule="getCompanyAppFunctions" Mode="Unbound" Theme="Vista"  >
			<TextBox Width="149px" /><List Width="300px" Height="150" />
			<Columns>
			<ntb:BoundColumn DataField="id" Visible="false" />
			<ntb:BoundColumn DataField="description" Visible="false" />
			<ntb:BoundColumn DataField="nitDesc" HeaderText="Name" width="200" />
			</Columns>
		</snc:Combo>
	</td>
</tr>
<tr>
	<td><asp:Label runat="server" ID="_secLevelLbl" Text="Security Level:" /></td>
	<td>
		<snc:Combo id="securityLevel" runat="server" DataTextField="name" DataSourceBizRule="getPrivilegeLevels" Mode="Unbound" Theme="Vista"  >
			<TextBox Width="149px" /><List Width="200px" Height="150" />
			<Columns>
				<ntb:BoundColumn DataField="id" Visible="false" />
				<ntb:BoundColumn DataField="name" HeaderText="Access Level" Width="200" />
			</Columns>
		</snc:Combo>
	</td>
</tr>
<tr>
	<td><asp:Label runat="server" ID="_parentPidLbl" Text="Page Template:" /></td>
	<td>
		<snc:Combo id="baseTemplate" runat="server" DataTextField="pageName" DataSourceBizRule="getAvailablePageTemplates" Mode="Unbound" Theme="Vista"  >
			<TextBox Width="149px" /><List Width="300px" Height="150" />
			<Columns>
			<ntb:BoundColumn DataField="pageName" Visible="false" />
			<ntb:BoundColumn DataField="pageName" HeaderText="Name" width="200" />
			</Columns>
		</snc:Combo>
	</td>
</tr><tr>
	<td><asp:Label runat="server" ID="_parentPidFormulaLbl" Text="Title:" /></td>
	<td>
		<asp:TextBox runat="server" ID="title" />
	</td>
</tr>
</table>